<%-- 
    Document   : TCube - TCubeAccountRegistrationConfirm
    Created on : Sep 27, 2011, 3:48:56 PM
    Author     : Belinda
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>FoodSage - Registration Confirmation</title>
    <script language="javascript" type="text/javascript" src="../TransactWeb/js/jquery-1.6.4.min.js"></script>
    <script language="javascript" type="text/javascript" src="../TransactWeb/js/jquery.form.js"></script>
    <script type="text/javascript" src="../TransactWeb/js/fieldsetCollapse.js"></script>
    <script type="text/javascript" src="../TransactWeb/js/tcubmenu.js"></script>
    <script type="text/javascript" src="../TransactWeb/js/accordion.js"></script>
    <script type="text/javascript" src="../TransactWeb/js/scroller.js"></script>
    <script type="text/javascript" src="../TransactWeb/js/Utilities.js"></script>

    <link rel="stylesheet" type="text/css" href="../TransactWeb/css/gridsys.css" />
    <link rel="stylesheet" type="text/css" href="../TransactWeb/css/reset1.css" />
    <link rel="stylesheet" type="text/css" href="../TransactWeb/css/tcube.css" />
    <link href="../TransactWeb/css/gridsys.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../TransactWeb/css/tcubaccd.css" />
    <script type="text/javascript">
        // Check Session to show relevant menus
        // Be sure to import Utilities.js in the script file	and declare partnerMenu as a servelet element
        window.onload = showPage('tcubeMenu', 'leftnav');

        // If not logged in, use : 
        //window.onload = showPage('topMenutcube', 'topmenu');
        //IF logged in use : 
        window.onload = showPage('topMenulogouttcube', 'topmenu');

        //welcome msg
        window.onload = showPage('welcomeMenutcube','welcome');

        //footer
        window.onload = showPage('tcubeFooter','footer');
    </script>
</head>

<body>
    <div class="container_12">
        <!-- Header Nav -->
        <div class="grid_3"><img src="../TransactWeb/img/reservation/foodsglogo.png" width="146" height="178" /></div>
        <div class="grid_9 nav">
            <div id="topmenu"></div>
        </div>

        <div class="grid_12">
            <hr size="3" color="#CC6600" />
        </div>

        <!-- Welcome Message -->
        <div class="grid_12 welcome">

            <div id="welcome"></div>
        </div>
        <!-- End Welcome Message-->

        <!-- End of Header Nav -->
        <!-- Menu / Planner -->
        <div class="grid_4">
            <div id="leftnav"></div>
        </div>

        <!--End Menu/ Planner -->
        <!-- Content -->
        <div class="grid_8 content">
            <!-- Content Header -->
            <table width="600" border="0" style="padding:10px 0px 10px 0px;">
                <tr>
                    <td colspan="2" class="createcat">Registration Confirmation</td>
                </tr>
                <tr>
                    <td width="173">First Name : </td>
                    <td width="129">
                        <%= request.getParameter("firstName")%>
                    </td>
                </tr>
                <tr>
                    <td>Last Name :</td>
                    <td>
                        <%= request.getParameter("lastName")%>
                    </td>
                </tr>
                <tr>
                    <td>NRIC :</td>
                    <td>
                        <%= request.getParameter("NRIC")%>
                    </td>
                </tr>
                <tr>
                    <td>Gender : </td>
                    <td>
                        <%= request.getParameter("sex")%></td>
                </tr>
                <tr>
                    <td>Contact Number : </td>
                    <td> + <%= request.getParameter("countryCode")%>
                        - <%= request.getParameter("phone")%>
                    </td>
                </tr>
                <tr>
                    <td>Email : </td>
                    <td>
                        <%= request.getParameter("email")%>
                    </td>
                </tr>
                <tr>
                    <td>Country : </td>
                    <td>
                        <%= request.getParameter("country")%>
                    </td>
                </tr>               
                <tr>
                    <td>City : </td>
                    <td>
                        <%= request.getParameter("city")%>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td colspan="2" class="createcat">Essential for System Login</td>
                </tr>
                <td>Account Access Level : </td>
                <td>
                    <%= request.getParameter("level")%>
                </td>
                </tr>
                <tr>
                    <td>Role : </td>
                    <td>
                        <%= request.getParameter("theRole")%>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">&nbsp;</td>
                </tr>
            </table>


            <form id="tcubeAccCfmForm" name="tcubeAccCfmForm" action="TCubeAccountRegistrationStatus" method="POST">
                <!-- TCube -->
                <input type="hidden" value="<%= request.getParameter("firstName")%>" name="firstName">
                <input type="hidden" value="<%= request.getParameter("lastName")%>" name="lastName">                      
                <input type="hidden" value="<%= request.getParameter("NRIC")%>" name="NRIC">
                <input type="hidden" value="<%= request.getParameter("sex")%>" name="sex">
                <input type="hidden" value="<%= request.getParameter("countryCode")%>" name="countryCode">
                <input type="hidden" value="<%= request.getParameter("phone")%>" name="phone">
                <input type="hidden" value="<%= request.getParameter("email")%>" name="email1"> 
                <input type="hidden" value="<%= request.getParameter("country")%>" name="country">
                <input type="hidden" value="<%= request.getParameter("city")%>" name="city">
                <input type="hidden" value="<%= request.getParameter("username")%>" name="chosenUsername">
                <input type="hidden" value="<%= request.getParameter("password")%>" name="password1">
                <input type="hidden" value="<%= request.getParameter("level")%>" name="level">
                <input type="hidden" value="<%= request.getParameter("theRole")%>" name="theRole">


                <input type="submit" name="submit" id="tcubeAccRegConf" value="Confirm" />



            </form>

            <!--End Login -->
        </div>
        <!-- End Content -->
        <!-- Footer -->
        <div class="grid_12 footer">
            <div id="footer"></div></div>
        <!-- End Footer-->
    </div>
</body>
</html>